<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@include file="/WEB-INF/webpage/common/taglibs.jspf"%>
<!DOCTYPE html>
<html>
<head>
    <title><spring:message code="cc.device.edittitle" /></title>
    <meta name="decorator" content="form"/> 
</head>

<body class="white-bg"  formid="ccDeviceForm">
    <form:form id="ccDeviceForm" modelAttribute="data"  method="post" class="form-horizontal">
		<form:hidden path="id"/>
		<table  class="table table-bordered  table-condensed dataTables-example dataTable no-footer">
		   <tbody>
		       <tr>
		         <td  class="width-15 active text-right">	
		              <label><font color="red">*</font>设备编号:</label>
		         </td>
		         <td class="width-35" >
		             <form:input path="no" class="form-control " datatype="*" nullmsg="请输入设备编号！" htmlEscape="false" />
		             <label class="Validform_checktip"></label>
		         </td>
		         <td  class="width-15 active text-right">	
		          	<label><font color="red">*</font>设备序列号:</label>
		         </td>
		         <td  class="width-35" >
		             <form:input path="sn" class="form-control"  htmlEscape="false"  datatype="*"  nullmsg="请输入设备序列号！"/>
		             <label class="Validform_checktip"></label>
		         </td>
		      </tr>
			   <tr>
				   <td  class="width-15 active text-right">
					   <label>最高温度:</label>
				   </td>
				   <td  class="width-35" >
					   <form:input path="highT" class="form-control"  htmlEscape="false"  datatype="*" />
				   </td>
				   <td  class="width-15 active text-right">
					   <label>最低温度:</label>
				   </td>
				   <td class="width-35" >
					   <form:input path="lowT" class="form-control " datatype="*" htmlEscape="false" />
				   </td>
			   </tr>
			   <tr>
				   <td  class="width-15 active text-right">
					   <label><font color="red">*</font>采集时间间隔:</label>
				   </td>
				   <td  class="width-35" >
					   <form:input path="minute" class="form-control"  htmlEscape="false"  datatype="*" />
					   <label class="Validform_checktip"></label>
				   </td>
				   <td  class="width-15 active text-right">
					   <label><font color="red">*</font>默认时间间隔:</label>
				   </td>
				   <td  class="width-35" >
					   <form:input path="minuteDefault" class="form-control"  htmlEscape="false"  datatype="*" />
					   <label class="Validform_checktip"></label>
				   </td>
			   </tr>
			   <tr>
				   <td  class="width-15 active text-right">
					   <label>设备电话:</label>
				   </td>
				   <td class="width-35" >
					   <form:input path="tel" class="form-control " datatype="*" htmlEscape="false" />
				   </td>
				   <td  class="width-15 active text-right">
					   <label>管理电话:</label>
				   </td>
				   <td class="width-35" >
					   <form:input path="adminTel" class="form-control " htmlEscape="false" />
				   </td>
			   </tr>
			   <tr>
				   <td class="active">
					   <label class="pull-right"><font color="red">*</font>设备状态:</label>
				   </td>
				   <td>
					   <form:radiobuttons path="state" dict="deviceState" defaultValue="1" htmlEscape="false" cssClass="i-checks required" />
				   </td>
				   <td class="width-15 active text-right">
					   <label>工作状态:</label>
				   </td>
				   <td class="width-35">
					   <form:select path="working" dict="deviceWorking" defaultValue="1" htmlEscape="false" class="form-control" />
				   </td>
			   </tr>
			   <tr>
				   <td class="width-15 active text-right">
					   <label><font color="red">*</font>版本:</label>
				   </td>
				   <td class="width-35">
					   <form:select path="ver" dict="deviceVer" htmlEscape="false" class="form-control" />
					   <label class="Validform_checktip"></label>
				   </td>
				   <td class="width-15 active text-right">
					   <label>仓库:</label>
				   </td>
				   <td class="width-35">
					   <form:select path="cangku" dict="cangku" defaultValue="CK099001" htmlEscape="false" class="form-control" />
				   </td>
			   </tr>
		   </tbody>
		</table>
	</form:form>
</body>
</html>